package mobi.greenplate.theweb.domain;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlEnum(String.class)
public enum TransportType {
  

    @XmlEnumValue("bus") bus("bus"),
    
    @XmlEnumValue("train") train("train"),
    @XmlEnumValue("personal") personal("personal");
    
    
    private final String label;

    private TransportType(String label) {
        this.label = label;
    }

    public String getLabel() {
        return label;
    }   

}
